uniform width quadratic problem